package com.sfzd5.html;

import javax.swing.text.ViewFactory;
import javax.swing.text.html.HTMLEditorKit;

public class MyExtendedHtmlEditorKit extends HTMLEditorKit {
    MyHTMLFactory myHTMLFactory;
    public MyExtendedHtmlEditorKit() {
        super();
        myHTMLFactory = new MyHTMLFactory(super.getViewFactory());
    }

    @Override
    public ViewFactory getViewFactory() {
        return myHTMLFactory;
    }
}
